<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>jQuery.extend(object)</title>
<link type="text/css" rel="stylesheet" href="style/style.css" tppabs="http://www.erdangjiade.com/manual/jquery/jquery/style/style.css"  />
</head>
<body id="split">
<div id="content">
  
  <div rel="jQuery.extend">
    <h2><span>返回值:jQuery</span>jQuery.extend(object)</h2>
    <h3>概述</h3>
    <div class="desc">
      <p>扩展jQuery对象本身。</p>
      <div class="longdesc">
        <p>用来在jQuery命名空间上增加新函数。 查看 'jQuery.fn.extend' 获取更多添加<a href="javascript:if(confirm('http://docs.jquery.com/Plugins/Authoring  \n\n该文件无法用 Teleport Ultra 下载, 因为 它是一个域或路径外部被设置为它的启始地址的地址。  \n\n你想在服务器上打开它?'))window.location='http://docs.jquery.com/Plugins/Authoring'" tppabs="http://docs.jquery.com/Plugins/Authoring" title="Plugins/Authoring">插件</a>的信息。</p>
      </div>
    </div>
    <h3>参数</h3>
    <div>
      <h4><strong>object</strong><span>Object</span><em>V1.0</em></h4>
      <p>用以扩展 jQuery 对象</p>
    </div>
    <div class="example">
      <h3>示例</h3>
      <span id="f_ad2"></span>
      <h4>描述:</h4>
      <p>在jQuery命名空间上增加两个函数。</p>
      <h5>jQuery 代码:</h5>
      <pre><code>jQuery.extend({
  min: function(a, b) { return a &lt; b ? a : b; },
  max: function(a, b) { return a &gt; b ? a : b; }
});</code></pre>
      <h5>结果:</h5>
      <pre><code>jQuery.min(2,3); // =&gt; 2
jQuery.max(4,5); // =&gt; 5</code></pre>
    </div>
  </div>
</div>
</body>
</html>
<div style="display:none">

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F327b016d332d3a7e4043796cab725707' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>"